package com.xxxy.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author StevenShen
 * @date 2022/3/25 18:30
 */
@Data
public class StudentPaperResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("试卷id")
    private Integer paperId;

    @ApiModelProperty(value = "试卷名称")
    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "考试时间")
    private Date examTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "考试结束时间")
    private Date endTime;

    @ApiModelProperty("题目数量")
    private Integer questionNumber;

    @ApiModelProperty("考试状态（3=待开始，4=进行中）")
    private Integer status;

    @ApiModelProperty("课程名")
    private String courseName;

    @ApiModelProperty("学院名")
    private String facultyName;

    @ApiModelProperty("教学班id")
    private Integer teachingClassId;

}
